package com.iona.domain;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;

@Entity
public class PartDisStudyWork extends BaseEntity {
	@OneToMany
	@JoinColumn(name = "studywork_fk")
	private StudyWork studyWork;
	@OneToMany
	@JoinColumn(name = "partdis_fk")
	private PartDis partDis;
	
	public StudyWork getStudyWork() {
		return studyWork;
	}
	public void setStudyWork(StudyWork studyWork) {
		this.studyWork = studyWork;
	}
	public PartDis getPartDis() {
		return partDis;
	}
	public void setPartDis(PartDis partDis) {
		this.partDis = partDis;
	}

	

}
